Title Banner

Previous Book Contents Book Index Next

Inside Macintosh: OpenDoc Class Reference /
Part 1 - Classes and Methods / ODContainer


GetName

The GetName method returns the name of this container object.

ODContainerName GetName ();
return value
The name of this container, or an empty sequence if the container does not have a name.
DISCUSSION
Although parts can call this method, they usually do not need to know the names of their associated containers.

If this container has a name, this method returns a copy of that name. Otherwise, the text field of the result ODContainerName structure represents an empty sequence of characters; that is, the text field is an ODByteArray structure whose _length field contains 0 and whose _buffer field contains a null pointer.

SEE ALSO
The ODByteArray type (page 877).
The ODContainerName type (page 900).
The ODContainer::SetName method (page 102).


Previous Book Contents Book Index Next

© Apple Computer, Inc.
17 JUL 1996




Navigation graphic, see text links

Main | Page One | What's New | Apple Computer, Inc. | Find It | Contact Us | Help